package cn.wolfcode.wolf2w.query;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class TravelQuery extends QueryObject{
    private String destId ;
    private int state ;
    private int orderType;
    private int perExpendType=-1;
    private int dayType=-1;

    public TravelCondition getDay(){
        return TravelCondition.DAY_MAP.get(dayType);
    }
    public TravelCondition getExpend(){
        return TravelCondition.PEREXPENDTYPE_MAP.get(perExpendType);
    }
}
